﻿using SqlSugar;
using Store.Manager.ERP.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Store.Manager.ERP.Domain.Repositories
{
    public interface IInventoryRepository
    {
        IUnitOfWork UnitOfWork { get; }
        Task AddAsync(Inventory inventory);
        Task UpdateAsync(Inventory inventory);
        Task<Inventory> GetByOrganizationAndProductAsync(string organizationCode, string productCode);
    }
}
